#region Usings

using System;
using System.Collections.Generic;
using System.Linq;
using BK.Model;
using BK.Repositories.Abstract;
using Lib.ApplicationBlocks.DbBlocks.Membership;
#endregion Usings

namespace BK.Repositories.Fake
{
	public class UsersRepository : BaseFakeRepository<User>, IUsersRepository
	{
		private static readonly List<User> _fakeUsers = new List<User>
		                                            	{
		                                            		new User
		                                            			{
																	Id = 1,
		                                            				Email = "qqq@qqq.qqq",
		                                            				FirstName = "QQQQQQQ",
		                                            				LastName = "QQQQQQQ",
		                                            				Password = "1234"
		                                            			},
		                                            		new User
		                                            			{
																	Id = 2,
		                                            				Email = "www@www.www",
		                                            				FirstName = "QQQQQQQ",
		                                            				LastName = "QQQQQQQ",
		                                            				Password = "1234"
		                                            			},
		                                            		new User
		                                            			{
																	Id = 3,
		                                            				Email = "www@www.www",
		                                            				FirstName = "QQQQQQQ",
		                                            				LastName = "QQQQQQQ",
		                                            				Password = "1234"
		                                            			},
		                                            		new User
		                                            			{
																	Id = 4,
		                                            				Email = "www@www.www",
		                                            				FirstName = "QQQQQQQ",
		                                            				LastName = "QQQQQQQ",
		                                            				Password = "1234"
		                                            			},
		                                            		new User
		                                            			{
																	Id = 5,
		                                            				Email = "www@www.www",
		                                            				FirstName = "QQQQQQQ",
		                                            				LastName = "QQQQQQQ",
		                                            				Password = "1234"
		                                            			}
		                                            	};

		#region Implementation of IUsersRepository

		public User GetByEmail(string email)
		{
			throw new NotImplementedException();
		}

		public User Login(string email, string password)
		{
			throw new NotImplementedException();
		}

		public override IEnumerable<User> GetAll()
		{
			return _fakeUsers.AsQueryable();
		}

		public override int Count()
		{
			return _fakeUsers.Count();
		}

		#endregion Implementation of IUsersRepository

	    public CultureAndLocal GetCulatuCultureAndLocal(string userName)
	    {
	        throw new NotImplementedException();
	    }

	    public IMembership Load(string login, string password)
	    {
	        throw new NotImplementedException();
	    }

	    public IMembership Load(string login)
	    {
	        throw new NotImplementedException();
	    }

	    public IMembership Save(IMembership membership)
	    {
	        throw new NotImplementedException();
	    }

	    public void SetCulture(string userName, CultureAndLocal cultureAndLocal)
	    {
	        throw new NotImplementedException();
	    }
	}
}